<?php
class User {
  
 	private $id;
  	private $username;
  	private $role;
  
  	function __construct($id, $username, $role) {
    	$this->id = $id;
    	$this->username = $username;
    	$this->role = $role;
  	}
  
  	function getId() {
  		return $this->id;
  	}
  
	function getUsername() {
  		return $this->username;
  	}

	function getRole() {
  		return $this->role;
  	}
}
?>